﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using DP.RecallDeal.Interface.Requests;

namespace DP.RecallDeal.Interface.Tests.Requests
{
    public class MockADPBulkRequest : BaseRequest, IRequest
    {
        static string USERNAME = ConfigurationManager.AppSettings.Get("ADP_USERNAME");
        static string PASSWORD = ConfigurationManager.AppSettings.Get("ADP_PASSWORD");
        static string DEALERID = ConfigurationManager.AppSettings.Get("ADP_DEALERID");

        static string BULK_REQUEST_URL = "http://localhost:24724/Default.aspx";
        static string QUERYID = "FISalesBulk";

        public MockADPBulkRequest()
            : base(BULK_REQUEST_URL, new Dictionary<string, string>())
        {
            IDictionary<string, string> parameters = new Dictionary<string, string>();
            parameters.Add("queryId", QUERYID);
            parameters.Add("dealerId", DEALERID);
            base.AddParams(parameters);
        }
    }
}
